package com.lz.yz.outing.util;

import java.io.Serializable;

public class SmsMessage implements Serializable{

    private static final long serialVersionUID = 3597326440876125371L;
    //电话号码
    private String phone;
    //短信签名
    private String freeSignName;
    //短信模版
    private String templateCode;

    private String validateCode;

    private int type; //1注册 2登录

    public SmsMessage() {
    }

    public SmsMessage(String phone, String validateCode, String templateCode) {
        this.phone = phone;
        this.templateCode = templateCode;
        this.validateCode = validateCode;
    }

    public SmsMessage(String phone, String validateCode, String templateCode,int type) {
        this.phone = phone;
        this.templateCode = templateCode;
        this.validateCode = validateCode;
        this.type = type;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getFreeSignName() {
        return freeSignName;
    }

    public void setFreeSignName(String freeSignName) {
        this.freeSignName = freeSignName;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }

    public String getValidateCode() {
        return validateCode;
    }

    public void setValidateCode(String validateCode) {
        this.validateCode = validateCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }



}
